package com.ztools.pc.service.information;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ztools.common.model.pc.information.InformationSignIn;
import com.ztools.common.util.common.PageUtil;

import java.util.List;

/**
 * @author seeTools
 * @since 2023-05-31
 */
public interface InformationSignInService extends IService<InformationSignIn> {

    /**
     * 分页查询
     *
     * @param pageUtil 分页数据
     * @return 对象
     */
    Page<InformationSignIn> findList(PageUtil<InformationSignIn> pageUtil);


    /**
     * 根据对象查询
     *
     * @param informationSignIn informationSignIn
     * @return InformationSignIn
     */
    List<InformationSignIn> findByObject(InformationSignIn informationSignIn);


    /**
     * 修改
     *
     * @param informationSignIn informationSignIn
     * @return boolean
     */
    boolean update(InformationSignIn informationSignIn);

    /**
     * 删除
     *
     * @param informationSignIn informationSignIn
     * @return boolean
     */
    boolean delete(InformationSignIn informationSignIn);


    /**
     * 获取签到情况
     *
     * @param memberId memberId
     * @return boolean
     */
    boolean checkSing(Long memberId);
}
